Skip to content

ci: create GitHub Release after PyPI publish#555

Merged
Nelson-PROIA merged 1 commit into
mainfrom
ci/restore-gh-release-on-publish
May 27, 2026
Merged

ci: create GitHub Release after PyPI publish#555
Nelson-PROIA merged 1 commit into
mainfrom
ci/restore-gh-release-on-publish

Conversation

@Nelson-PROIA
Copy link
Copy Markdown
Contributor

@Nelson-PROIA Nelson-PROIA commented May 27, 2026

The Speakeasy reusable workflow used to create a git tag and GitHub Release for every published version. That stopped when we switched to publishing to PyPI directly with pypa/gh-action-pypi-publish, leaving v2.4.7 untagged.

This adds a Create GitHub Release step after the publish step. Tag scheme matches what Speakeasy used (v<version>); release body is built from the latest entry in RELEASES.md so the format matches earlier releases. contents: write is added to the workflow permissions, required by gh release create.

PyPI publishing is atomic so there is no orphan-tag risk.

v2.4.7 will be backfilled separately.

Restores tag + GitHub Release creation that was previously handled by the
Speakeasy reusable workflow. Tag scheme matches what Speakeasy used
(v<version>). Release body is built from the latest entry in RELEASES.md
so the format matches v1.x / v2.x releases through v2.4.5.

PyPI publishing is atomic (no staging), so the release is created after
gh-action-pypi-publish succeeds. Adds contents: write to the workflow
permissions, required by gh release create.
Copy link
Copy Markdown
Contributor

@andreaonofrei01 andreaonofrei01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg

@Nelson-PROIA Nelson-PROIA merged commit 43fec2d into main May 27, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants